package main

import (
	"net/http"

	"vegetable/services"
)

// 主函数入口
func main() {
	http.HandleFunc("/upchain", services.UpChainWaybill)
	http.HandleFunc("/query", services.QueryWaybill)
	err := http.ListenAndServe(":8080", nil)
	if err != nil {
		panic(err)
	}
}
